﻿using DAL;
using Entity;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BAL
{
    public class Control_Train
    {
        Data_Train var = new Data_Train();

        #region[Train_Insert]
        public void Train_Insert(Train data)
        {
            var.Train_Insert(data);
        }
        #endregion

        #region[Train_Update]
        public void Train_Update(Train data)
        {
            var.Train_Update(data);
        }
        #endregion

        #region[Train_GetAll]
        public DataTable Train_GetAll()
        {
            return var.Train_GetAll();
        }
        #endregion
    }
}
